package com.java.userservice.service;

import com.java.common.model.Result;
import com.java.common.service.BaseService;
import com.java.userservice.model.Permission;
import com.java.userservice.model.vo.PermissionVo;

import java.util.List;

public interface PermissionService extends BaseService<Permission> {

    List<PermissionVo> listByLoginId(Integer adminId);


    List<Permission> listAll();

}
